#!/usr/bin/env bash
set -e

if [ "$1"x == "x" ];then
    echo "invalid para"
    exit -1
fi

PROBLEM_NUM=p$(printf "%04d" $1)
echo "problem is [${PROBLEM_NUM}]"
mkdir src/${PROBLEM_NUM}
touch src/${PROBLEM_NUM}/${PROBLEM_NUM}.cpp

